<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" xmlns:p="http://java.sun.com/jsf/portlet/components" version="2.0">
	<f:view>
		<p:portletPage>
			<a4j:outputPanel layout="block" styleClass="mediadoresWrapper">
				<a4j:outputPanel layout="block" styleClass="headerWrapper">
					<a4j:outputPanel layout="block" styleClass="accesible clearfix"></a4j:outputPanel>
				</a4j:outputPanel>
				<a4j:outputPanel layout="block" styleClass="topMenuWrapper">
					<h:form>
						<a4j:outputPanel>
							<a4j:commandLink value="Volver" action="back" immediate="true" styleClass="topMenuLink" />
						</a4j:outputPanel>
					</h:form>
				</a4j:outputPanel>
				<a4j:outputPanel layout="block" styleClass="contentWrapper">
					<h:form id="groupDetailForm">
						<a4j:outputPanel layout="block" styleClass="titleWrapper">
							<h:outputText value="Detalle de grupo de mediadores" />
						</a4j:outputPanel>
						<a4j:outputPanel layout="block" styleClass="validatonMessagesWrapper">
							<rich:messages />
						</a4j:outputPanel>
						<a4j:outputPanel layout="block" rendered="#{ApplicationConfiguration.debugEnabled}">
							<rich:panel>
								<h:outputText value="#{GroupDetailManagement.currentGroup}" />
							</rich:panel>
							<rich:spacer height="10" />
						</a4j:outputPanel>
						<rich:panel>
							<dl class="formList">
								<dt>Nombre:</dt>
								<dd><h:inputText id="id_name_TF" value="#{GroupDetailManagement.currentGroup.name}" styleClass="largeTextField" /></dd>
								<dt>Miembros:</dt>
								<dd><rich:pickList binding="#{GroupDetailManagement.pickList}" showButtonsLabel="false" >
									<f:selectItems value="#{GroupDetailManagement.availableUsers}" />
								</rich:pickList></dd>
							</dl>
							<a4j:outputPanel layout="block" styleClass="richPanelButtons">
								<a4j:commandButton action="#{GroupDetailManagement.save}" value="Guardar" styleClass="richButton" />
								<a4j:commandButton action="#{GroupDetailManagement.delete}" value="Eliminar" styleClass="richButton" rendered="#{!empty GroupDetailManagement.currentGroup.internalID}" />
							</a4j:outputPanel>
							<a4j:outputPanel layout="block" styleClass="accesible clearfix"></a4j:outputPanel>
						</rich:panel>
					</h:form>
				</a4j:outputPanel>
				<a4j:outputPanel layout="block" styleClass="footerWrapper">
					<a4j:outputPanel layout="block" styleClass="accesible clearfix"></a4j:outputPanel>
				</a4j:outputPanel>
			</a4j:outputPanel>
		</p:portletPage>
	</f:view>
</jsp:root>